import React from "react";
import {dataSource} from "../../utils/consts";
import Sortable from "../../components/Sortable";

const columns = [
    {
        title: 'Name',
        dataIndex: 'name',
    },
    {
        title: 'Age',
        dataIndex: 'age',
    },
    {
        title: 'Address',
        dataIndex: 'address',
    },
];

function CommonList() {

    return (
        <Sortable
            columns={columns}
            dataSource={dataSource}
        />
    )
}

export default CommonList